﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="HousingDetail.aspx.cs"
    Inherits="ZLDC.Estate.PM.HousingDetail" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>盘源详细信息</title>
    <link href="../css/main.css" rel="stylesheet" type="text/css" />
    <link href="../js/jquery/style/jquery.hiAlerts.css" rel="stylesheet" type="text/css" />
    <link href="../js/jquery.autocomplete/jquery.autocomplete.css" rel="stylesheet" type="text/css" />

    <script src="../js/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>

</head>
<body>
    <form id="form1" runat="server" onselectstart="return false" onpaste="return false" oncopy="return false;" oncut="return false;" >
    <div id="divHead">
        <asp:Button ID="btnFirst" runat="server" Text="首条" CssClass="button_bak2"></asp:Button><asp:Button
            ID="btnPrev" runat="server" Text="上一条" CssClass="button_bak2"></asp:Button><asp:Button
                ID="btnNext" runat="server" Text="下一条" CssClass="button_bak2"></asp:Button><asp:Button
                    ID="btnLast" runat="server" Text="尾条" CssClass="button_bak2"></asp:Button>
        &nbsp;&nbsp;
        <asp:Button ID="btnStatus1" runat="server" Visible="false" CssClass="button_bak2"
            Text="转资料" OnClientClick="btnStatus1_Click(1)" />
        <asp:Button ID="btnStatus2" runat="server" Visible="false" CssClass="button_bak2"
            Text="申请转当前" OnClick="btnStatus2_Click" />
        <asp:Button ID="btnStatus3" runat="server" Visible="false" CssClass="button_bak2"
            Text="转无效" OnClientClick="btnStatus1_Click(2)" />
        <asp:Button ID="btnStatus4" runat="server" Visible="false" CssClass="button_bak2"
            Text="转当前" OnClientClick="return toPty();" />
        <asp:Button ID="btnOver" runat="server" Visible="false" CssClass="button_bak2" Text="转成交"
            OnClientClick="javascript:return ToDeal(this);" OnClick="btnOver_Click" />
        &nbsp;&nbsp;
        <asp:Button ID="btnInfo" runat="server" CssClass="button_bak2" Visible="false" Text="举报"
            OnClientClick="return ShowDialog()" />
        <asp:Button ID="btnDelete" runat="server" CssClass="button_bak2" Visible="false"
            Text="删除" OnClientClick="return delHousing()" />
        <asp:Button ID="btnRecommend" runat="server" CssClass="button_bak2" Visible="false"
            Text="笋盘推荐" OnClientClick="javascript:return ShowDialogListing(this)" OnClick="btnRecommend_Click" />
        <asp:Button ID="btnEveryday" runat="server" CssClass="button_bak2" Text="每日一盘" OnClientClick="return everyday()" />
        <asp:Button ID="btnFavorite" runat="server" CssClass="button_bak2" Visible="false"
            Text="收藏" OnClientClick="return favorite(0, 1)" />
        <asp:Button ID="btnLock" runat="server" CssClass="button_bak2" Visible="false" Text="封盘"
            OnClientClick="javascript:return lock(this)" />
    </div>
    <div id="divMain" style="height: 100%; overflow-x: auto; overflow-y: auto;">
        <div id="divSearch" style="margin-top: 3px; text-align: center;">
            <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#a8c7ce">
                <tr>
                    <td width="10%" align="right" bgcolor="#F7F7F7">
                        栋阁：
                    </td>
                    <td bgcolor="#FFFFFF">
                        <span id="sBuildName" style="font-size: 14px; font-weight: bold"></span>
                    </td>
                    <td width="11%" align="right" bgcolor="#F7F7F7">
                        房号：
                    </td>
                    <td bgcolor="#FFFFFF">
                        <span id="sRoomNo" style="font-size: 14px; font-weight: bold"></span>
                    </td>
                    <td width="6%" align="right" bgcolor="#F7F7F7">
                        面积：
                    </td>
                    <td bgcolor="#FFFFFF">
                        <span id="sAcreage" style="font-size: 14px; font-weight: bold"></span>&nbsp;m2
                    </td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#F7F7F7">
                        租售价：
                    </td>
                    <td bgcolor="#FFFFFF">
                        <span id="sTotalprice" style="font-size: 14px; font-weight: bold"></span>&nbsp;&nbsp;<span
                            id="sUnitPrice" style="font-size: 14px; font-weight: bold"></span>
                    </td>
                    <td align="right" bgcolor="#F7F7F7">
                        <div id="divHx">
                            户型：</div>
                        <div id="divRentCust" style="display: none">
                            租客：</div>
                    </td>
                    <td bgcolor="#FFFFFF">
                        <span id="sRoomHall" style="font-size: 14px; font-weight: bold"></span>
                    </td>
                    <td align="right" bgcolor="#F7F7F7">
                        <div id="divCx">
                            朝向：
                        </div>
                        <div id="divZrf" style="display: none;">
                            转让费：
                        </div>
                    </td>
                    <td bgcolor="#FFFFFF">
                        <span id="sDirect" style="font-size: 14px; font-weight: bold"></span>
                    </td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#F7F7F7">
                        状态：
                    </td>
                    <td bgcolor="#FFFFFF">
                        <span id="spanStatus"></span>
                    </td>
                    <td align="right" bgcolor="#F7F7F7">
                        交易：
                    </td>
                    <td bgcolor="#FFFFFF">
                        <span id="sTradetype"></span>
                    </td>
                    <td width="10%" align="right" bgcolor="#F7F7F7">
                        是否封盘：
                    </td>
                    <td bgcolor="#FFFFFF">
                        <span id="spanStatus1"></span>
                    </td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#F7F7F7">
                        开盘人：
                    </td>
                    <td bgcolor="#FFFFFF">
                        <span id="sMarkUser"></span><span id="sMarkUdept"></span>
                    </td>
                    <td align="right" bgcolor="#F7F7F7">
                        开盘时间：
                    </td>
                    <td bgcolor="#FFFFFF">
                        <span id="sMarkDate"></span>
                    </td>
                    <td align="right" bgcolor="#F7F7F7">
                        开盘电话：
                    </td>
                    <td bgcolor="#FFFFFF">
                    <span id="sMarkTel" runat="server"></span>
                       
                    </td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#F7F7F7"  style="font-size: 14px; font-weight: bold">
                    业主：
                    </td>
                    <td bgcolor="#FFFFFF" >
                    
                        <span id="spanowner1" runat="server"  style="font-size: 14px; font-weight: bold"></span>
                    </td>
                    <td align="right" bgcolor="#F7F7F7">
                        备注： 
                    </td>
                    <td bgcolor="#FFFFFF" colspan="3">
                        <span id="sRemark"></span>
                    </td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#F7F7F7">
                        代理人：
                    </td>
                    <td bgcolor="#FFFFFF">
                         <span id="spanlinkman1" runat="server"></span>
                    </td>                  
                    <td bgcolor="#FFFFFF" colspan="4">
                        <strong><span id="spankeyno" runat="server"></span></strong>&nbsp;&nbsp;
                        <strong><span id="spanisonly" runat="server"></span></strong>&nbsp;&nbsp;
                        <strong><span id="spanmark2" runat="server"></span></strong>&nbsp;&nbsp;
                        <strong><span id="spanpocstatus" runat="server"></span></strong>
                    </td>
                   
                </tr>
                
            </table>
        </div>
        【温馨提示：<a href="javascript:iAdvancedSearch_onclick()" id="openAdvancedSearch"><b>请点击查看更多详细信息</b></a>】<span
            id="sOutmsg"></span>
        <br />
        <div id="divAdvancedSearch" style="margin-top: 3px; text-align: center; display: none;">
            <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#a8c7ce">
                <tr>
                    <td align="right" bgcolor="#F7F7F7">
                        盘源编号：
                    </td>
                    <td bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <span id="sId"></span>
                    </td>
                    <td align="right" bgcolor="#F7F7F7">
                        城区片区：
                    </td>
                    <td bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <span id="sDname"></span>
                    </td>
                    <td align="right" bgcolor="#F7F7F7">
                        最后跟进时间：
                    </td>
                    <td bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <span id="sUDDate"></span>
                    </td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#F7F7F7">
                        用途：
                    </td>
                    <td bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <span id="sUse"></span>
                    </td>
                    <td align="right" bgcolor="#F7F7F7">
                        类型：
                    </td>
                    <td bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <span id="sHouseType"></span>
                    </td>
                    <td align="right" bgcolor="#F7F7F7">
                        查看次数：
                    </td>
                    <td bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <span id="sClickCount"></span>
                    </td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#F7F7F7">
                        是否独家：
                    </td>
                    <td bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <span id="sIsOnly"></span>
                    </td>
                    <td align="right" bgcolor="#F7F7F7">
                        签独家人员：
                    </td>
                    <td bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <span id="sOnlyUser"></span>
                    </td>
                    <td align="right" bgcolor="#F7F7F7">
                        签独家时间：
                    </td>
                    <td bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <span id="sOnlyDate"></span>
                    </td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#F7F7F7">
                        营业税：
                    </td>
                    <td bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <span id="sMark2"></span>
                    </td>
                    <td align="right" bgcolor="#F7F7F7">
                        房产证：
                    </td>
                    <td bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <span id="sPocStatus"></span>
                    </td>
                    <td align="right" bgcolor="#F7F7F7">
                        房产证号：
                    </td>
                    <td bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <span id="sPocNo"></span>
                    </td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#F7F7F7">
                        登记人：
                    </td>
                    <td bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <span id="sAddUser"></span>
                    </td>
                    <td align="right" bgcolor="#F7F7F7">
                        登记时间：
                    </td>
                    <td bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <span id="sAddDate"></span>
                    </td>
                    <td align="right" bgcolor="#F7F7F7">
                        产权：
                    </td>
                    <td bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <span id="sPropertyRight"></span>
                    </td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#F7F7F7">
                        来源：
                    </td>
                    <td bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <span id="sSource"></span>
                    </td>
                    <td align="right" bgcolor="#F7F7F7">
                        装修：
                    </td>
                    <td bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <span id="sFitment"></span>
                    </td>
                    <td align="right" bgcolor="#F7F7F7">
                        现状：
                    </td>
                    <td bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <span id="sUseStatus"></span>
                    </td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#F7F7F7">
                        收钥匙人：
                    </td>
                    <td bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <span id="sKeepKey"></span>
                    </td>
                    <td align="right" bgcolor="#F7F7F7">
                        钥匙编号：
                    </td>
                    <td bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <span id="sKeyNo"></span>
                    </td>
                    <td align="right" bgcolor="#F7F7F7">
                        钥匙时间：
                    </td>
                    <td bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <span id="skeepKeyDate"></span>
                    </td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#F7F7F7">
                        是否反签：
                    </td>
                    <td bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <span id="sCtyCont"></span>
                    </td>
                    <td align="right" bgcolor="#F7F7F7">
                        反签人：
                    </td>
                    <td bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <span id="sCtyContUser"></span>
                    </td>
                    <td align="right" bgcolor="#F7F7F7">
                        反签时间：
                    </td>
                    <td bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <span id="sCtyContDate"></span>
                    </td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#F7F7F7">
                        样式：
                    </td>
                    <td bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <span id="sHouseStyle"></span>
                    </td>
                    <td align="right" bgcolor="#F7F7F7">
                        物业费用：
                    </td>
                    <td bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <span id="sPropertyFare"></span>元/m2
                    </td>
                    <td align="right" bgcolor="#F7F7F7">
                        使用面积：
                    </td>
                    <td bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <span id="trueArea" style="font-size: 14px; font-weight: bold"></span>&nbsp;㎡
                    </td>
                </tr>
                <tr>
                     <td align="right" bgcolor="#F7F7F7">
                        房龄：
                    </td>
                    <td bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <span id="sAge"></span>
                    </td>
                    <td align="right" bgcolor="#F7F7F7">
                        几租/几押：
                    </td>
                    <td bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <span id="sRentNumber"></span>/<span id="sDepositNumber"></span>
                    </td>
                    <td align="right" bgcolor="#F7F7F7">
                        带租约：
                    </td>
                    <td bgcolor="#FFFFFF" style="padding-left: 10px;">
                       <span id="sWhetherLease"></span>
                    </td>
                </tr>
                <tr>
                     <td align="right" bgcolor="#F7F7F7">
                        是否合租：
                    </td>
                    <td bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <span id="sInLease"></span>
                    </td>
                    <td align="right" bgcolor="#F7F7F7">
                        可落户：
                    </td>
                    <td bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <span id="sSettle"></span>
                    </td>
                    <td align="right" bgcolor="#F7F7F7">
                        带学位：
                    </td>
                    <td bgcolor="#FFFFFF" style="padding-left: 10px;">
                       <span id="sDegree"></span>
                    </td>
                </tr>
                
                <tr>
                    <td width="10%" align="right" bgcolor="#F7F7F7">
                        房屋设施：
                    </td>
                    <td bgcolor="#FFFFFF" style="padding-left: 10px;" colspan="5">
                        <span id="sAppliances" runat="server"></span>
                    </td>
                    
                </tr>
               
            </table>
        </div>
        <div class="f_l rqieh" id="div_tab">
            <a id="tag1" style="cursor: pointer; display: none;" onclick="go_to(1);">房源详情</a>
            <a id="tag2" style="cursor: pointer;" onclick="go_to(2);">电话号码</a> <a id="tag3" style="cursor: pointer;"
                onclick="go_to(3);">跟进记录</a> <a id="tag4" style="cursor: pointer;" onclick="go_to(4);">
                    房屋图片</a> <a id="tag5" style="cursor: pointer;" onclick="go_to(5);">客户匹配</a>
            <a id="tag6" style="cursor: pointer;" onclick="go_to(6);">房贷计算</a> <a id="tag7" style="cursor: pointer;"
                onclick="go_to(7);">同业主盘</a> <a id="tag8" style="cursor: pointer;" onclick="go_to(8);">
                    提醒记录</a> <a id="tag9" style="cursor: pointer;" onclick="go_to(9);">钥匙管理</a>
            <a id="tag10" style="cursor: pointer; display: none;" onclick="go_to(10);">成交信息</a>
        </div>
        <div id="div1" class="page f_l" style="display: none;">
        </div>
        <div id="div2"  style="display: none;">
            <div id="div2_detail">
                <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#a8c7ce">
                    <tr>
                        <td width="10%" align="right" bgcolor="#F7F7F7">
                            业主电话：
                        </td>
                        <td width="15%" bgcolor="#FFFFFF" style="padding-left: 10px;">
                            <span id="span_ownertel" runat="server" style="font-size: 14px; font-weight: bold;font-color:red;">
                            </span>
                        </td>
                        <td width="10%" align="right" bgcolor="#F7F7F7">
                            业主姓名：
                        </td>
                        <td width="15%" bgcolor="#FFFFFF" style="padding-left: 10px;">
                            <span id="span_owner"></span>
                        </td>
                        <td width="10%" align="right" bgcolor="#F7F7F7">
                            代理人：
                        </td>
                        <td width="15%" bgcolor="#FFFFFF" style="padding-left: 10px;">
                            <span id="span_linkman"></span>
                        </td>
                        <td width="10%" align="right" bgcolor="#F7F7F7">
                            代理人电话：
                        </td>
                        <td width="15%" bgcolor="#FFFFFF" style="padding-left: 10px;">
                            <span id="span_linkmantel" runat="server" style="font-size: 14px; font-weight: bold">
                            </span>
                        </td>
                    </tr>
                </table>
            </div>
            <div style="padding-top: 10px;">
                以下该保密信息被查阅的状况统计</div>
            <div id="div2_list">
            </div>
        </div>
        <div id="div3" class="page f_l" >
            <table width="98%" border="0" cellpadding="0" cellspacing="1" bgcolor="#a8c7ce">
                <tr>
                    <td bgcolor="#FFFFFF" style="width: 12%; height: 25px;">
                        跟进方式：<input id="tradetype" type="hidden" name="tradetype" value="0" />
                    </td>
                    <td bgcolor="#FFFFFF" style="width: 20%; height: 25px;">
                        <select id="followType" name="followType" runat="server">
                        </select>
                    </td>
                    <td bgcolor="#FFFFFF" style="width: 30%;">
                        <div id="divSale" runat="server">
                            最新总价：
                            <input id="fprice" runat="server" name="fprice" onblur="return LexunJS.checkNum(this);"
                                type="text" style="width: 60px;" /><select id="Select5" name="D3" style="width: 20%">
                                    <option>万元</option>
                                </select>
                        </div>
                    </td>
                    <td bgcolor="#FFFFFF" style="width: 30%;">
                        <div id="divRent" runat="server">
                            最新租价：
                            <input id="funitprice" runat="server" name="funitprice" type="text" style="width: 60px;" /><select
                                id="Select6" name="D4" style="width: 20%">
                                <option>元/月</option>
                            </select>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td bgcolor="#FFFFFF">
                        跟进内容：
                    </td>
                    <td bgcolor="#FFFFFF" colspan="3">
                        <textarea id="fContent" name="fContent" style="width: 98%; height: 26px;"></textarea>
                    </td>
                </tr>
                <tr>
                    <td bgcolor="#FFFFFF">
                        重要备注：
                    </td>
                    <td bgcolor="#FFFFFF" colspan="3">
                        <textarea id="fImportant" runat="server" name="fImportant" style="width: 98%; height: 24px;
                            color: Red;"></textarea>
                    </td>
                </tr>
                <tr>
                    <td colspan="3" align="center" bgcolor="#F7F7F7" style="width: 70%">
                        <input id="btnOK" type="button" value="提交" class="button_bak" onclick="return submitOk()"
                            style="cursor: pointer;" runat="server" visible="false" />
                    </td>
                    <td bgcolor="#F7F7F7" style="width: 15%">
                        <table>
                            <tr>
                                <td bgcolor="#F7F7F7" style="width: 9%" align="right">
                                    <span id="sIsValid"></span>
                                </td>
                                <td bgcolor="#F7F7F7" style="width: 4%">
                                    <a id="lbtMark" href="javascript:UIsValid();"></a>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
            <%--<asp:HyperLink ID="HLAddFollow" NavigateUrl="javascript:ShowDialogFlow(1);" Visible="false"
                runat="server"><font color='red'>添加跟进</font></asp:HyperLink>--%>
            <asp:HyperLink ID="HLDelFollow" NavigateUrl="javascript:del();" Visible="false" runat="server"><font color='red'>删除跟进</font></asp:HyperLink>
            <div id="divList" onselectstart="return false" >
            </div>
            <div id="divPage">
            </div>
        </div>
        <div id="div4" class="page f_l" style="display: none;">
            <div id="div4Btn" style="width: 100%;">
                <a href="javascript:ShowDialogPic(1,'housing');" id="btnUpHousingPhoto"><font color='red'>
                    上传室内图</font></a> <a href="javascript:ShowDialogPic(2,'housing');" id="btnUpHXT"><font
                        color='red'>上传户型图</font></a> <a href="javascript:ShowDialogHousingPic();" id="btnSelHXT">
                            <font color='red'>从库中选择户型图</font></a></div>
            <div id="div4List">
            </div>
        </div>
        <div id="div5" class="page f_l" style="display: none;">
            <strong><font color='red'>可选客户匹配条件</font></strong>
            <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
                <tr>
                    <td width="20%" bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <input id="cbDname" type="checkbox" checked disabled />城区：<font color="red"><span
                            id="div5_sDname"></span></font>片区：<font color="red"><span id="div5_sArea"></span></font>
                        <!-- 城区片区 -->
                    </td>
                    <td width="15%" bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <input id="cbUse" type="checkbox" checked disabled />用途：<font color="red"><span id="div5_sUse"></span></font>
                        <!-- 用途 -->
                    </td>
                    <td width="20%" bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <input id="cbBuildName" type="checkbox" checked onclick="showCustomer(1)" />楼盘：<font
                            color="red"><span id="div5_sBuildName"></span></font><!-- 楼盘名称 -->
                    </td>
                    <td width="15%" bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <input id="cbTradetype" type="checkbox" checked onclick="showCustomer(1)" /><span
                            id="div5_sTradetype"></span><!-- 交易类型 -->
                    </td>
                    <td width="15%" bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <input id="cbTotalPrice" type="checkbox" checked onclick="showCustomer(1)" />价格：<span
                            id="div5_sMinTotalPrice"></span>~<span id="div5_sMaxTotalPrice"></span><span id="div5_unit"></span><!-- 租售价格 -->
                    </td>
                    <td width="15%" bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <input id="cbAcreage" type="checkbox" checked onclick="showCustomer(1)" />面积：<span
                            id="div5_sMinAcreage"></span>~<span id="div5_sMaxAcreage"></span>m2<!-- 面积 -->
                    </td>
                </tr>
                <tr>
                    <td width="20%" bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <input id="cbRoomHall" type="checkbox" onclick="showCustomer(1)" checked />户型：<span
                            id="div5_sRoomHall"></span>房<!-- 户型 -->
                    </td>
                    <td width="15%" bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <input id="cbDirect" type="checkbox" checked onclick="showCustomer(1)" checked />朝向：<span
                            id="div5_sDirect"></span><!-- 朝向 -->
                    </td>
                    <td width="20%" bgcolor="#FFFFFF" style="padding-left: 10px;">
                    </td>
                    <td width="15%" bgcolor="#FFFFFF" style="padding-left: 10px;">
                    </td>
                    <td width="15%" bgcolor="#FFFFFF" style="padding-left: 10px;">
                    </td>
                    <td width="15%" bgcolor="#FFFFFF" style="padding-left: 10px;">
                    </td>
                </tr>
            </table>
            <div id="div5_list">
            </div>
            <!-- 匹配出的客源列表 -->
            <div id="div5_page">
            </div>
        </div>
        <div id="div6" class="page f_l" style="display: none">
            <div id="div6_loading" style="display: none">
            </div>

            <script type="text/javascript" src="/Js/calculator.js"></script>

            <div class="calculators">
                <div class="calculators_left">
                    <span style="display: none">
                        <input type="radio" checked="" onclick="exc_hk(1);" value="1" name="huankuantype"
                            id="huankuantype" /></span>
                    <div>
                        <span>贷款类别：</span>
                        <select onchange="exc_zuhe(this.form,this.value);" id="daikuantype" name="daikuantype">
                            <option selected="" value="1">商业贷款</option>
                            <option value="2">公积金贷款</option>
                            <option value="3">组合型</option>
                        </select>
                    </div>
                    <div id="calc1_zuhe" style="display: none">
                        <span>组合比例：</span>
                        <table class="p9" cellspacing="0" cellpadding="0">
                            <tr>
                                <td>
                                    商业性：<input maxlength="8" size="8" id="commercial" name="commercial">
                                    元
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    公积金：<input maxlength="8" size="8" id="provident" name="provident">
                                    元
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div id="calc1_jisuan">
                        <span>计算方式：</span><input type="radio" checked="" name="jisuan_radio" value="1" onclick="exc_js(this.form,1)"
                            id="calc1_radio1" /><label for="calc1_radio1">根据房款总额计算</label>
                        <div style="padding-left: 70px;">
                            <div style="display: block" id="calc1_js_div1">
                                <table class="p9" border="0" cellspacing="0" cellpadding="0" width="200">
                                    <tr>
                                        <td class="l15" colspan="2">
                                            &nbsp;总价：<input value="52" maxlength="8" size="8" name="price" id="price">
                                            万元<br>
                                            &nbsp;按揭成数：
                                            <select id="anjie" name="anjie" size="1">
                                                <option value="9">9成</option>
                                                <option value="8">8成</option>
                                                <option selected="" value="7">7成</option>
                                                <option value="6">6成</option>
                                                <option value="5">5成</option>
                                                <option value="4">4成</option>
                                                <option value="3">3成</option>
                                                <option value="2">2成</option>
                                                <option value="1">1成</option>
                                            </select>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                            <input id="calc1_radio2" onclick="exc_js(this.form,2);" value="2" type="radio" name="jisuan_radio"><label
                                for="calc1_radio2">根据贷款总额计算</label>
                            <div style="display: none" id="calc1_js_div2">
                                <table class="p9" border="0" cellspacing="0" cellpadding="0" width="100%">
                                    <tr>
                                        <td>
                                            贷款总额：<input value="" id="daikuan_total" name="daikuan_total" size="8" maxlength="8" />
                                            万元
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </div>
                    </div>
                    <div>
                        <span>按揭年数：</span>
                        <select onchange="exc_lilv();" name="anjieyears" size="1" id="anjieyears">
                            <option value="1">1年</option>
                            <option value="2">2年</option>
                            <option value="3">3年</option>
                            <option value="4">4年</option>
                            <option value="5">5年</option>
                            <option value="6">6年</option>
                            <option value="8">8年</option>
                            <option value="9">9年</option>
                            <option value="10">10年</option>
                            <option value="11">11年</option>
                            <option value="12">12年</option>
                            <option value="13">13年</option>
                            <option value="14">14年</option>
                            <option value="15">15年</option>
                            <option value="16">16年</option>
                            <option value="17">17年</option>
                            <option value="18">18年</option>
                            <option value="19">19年</option>
                            <option selected="selected" value="20">20年</option>
                            <option value="25">25年</option>
                            <option value="30">30年</option>
                        </select></div>
                    <div>
                        <span>利 率：</span>
                        <select onchange="exc_lilv();" name="lilv" id="lilv">
                            <%-- <option value="46">首套房优惠(30%)利率</option>
                            <option value="50">首套房优惠(15%)利率</option>
                            <option value="47">2008年12月23日基准利率</option>
                            <option value="48">第二套房上浮利率</option>
                            <option value="49">第二套房固定利率</option>--%>
                            <option value="52">11年7月7日利率下限(7折)</option>
                            <option value="53">11年7月7日利率下限(85折)</option>
                            <option selected="selected" value="51">11年7月7日基准利率</option>
                            <option value="54">11年7月7日利率上限(1.1倍)</option>
                            <option value="55">11年7月7日利率上限(1.2倍)</option>
                        </select>
                    </div>
                    <div>
                        <input type="button" onclick="javascript:excjs();" id="calculate_loan" class="calculators_btn"
                            value="开始计算">
                        <input type="reset" onclick="javascript:excjs();" id="calculate_loan" class="calculators_btn"
                            value="重新计算">
                    </div>
                </div>
                <div class="calculators_right">
                    <div>
                        房款总额：<span class="red" id="fangkuan_total1">0</span></div>
                    <div>
                        贷款总额：<span class="red" id="daikuan_total1">0</span></div>
                    <div>
                        还款总额：<span class="red" id="all_total1">0</span></div>
                    <div>
                        支付利息款：<span class="red" id="lixi_total1">0</span></div>
                    <div>
                        首期付款：<span class="red" id="money_first1">0</span></div>
                    <div>
                        贷款月数：<span class="red" id="month1">0</span></div>
                    <div>
                        月均还款：<span class="red" id="month_money1">0</span></div>
                    <div>
                        以上结果仅供参考</div>
                </div>
            </div>
        </div>
        <div id="div7" class="page f_l" style="display: none">
            <img src="../images/loading.gif" />
            <%--<div id="divAlert1">
            </div>
            <div id="divAlert2">
            </div>
            <div id="divAlert3">
            </div>
            <!--修改-->
            <div id="divLayer" style="display: none; background: none repeat scroll 0% 0% rgb(255, 255, 255);
                width: 350px; height: 160px;">
                <h1 id="popup_title" onmousedown="StartDrag(this)" onmouseup="StopDrag(this)" onmousemove="Drag(this)">
                    修改</h1>
                <em id="ctl"></em><em id="cbl"></em><em id="ctr"></em><em id="cbr"></em>
                <div id="tabcontent" style="text-align: center; margin-left: 20px; margin-right: 20px;">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td>
                                处理意见：
                            </td>
                            <td>
                                <textarea id="dView" name="dView" cols="20" rows="2" style="width: 200px; height: 40px;"></textarea>
                            </td>
                        </tr>
                    </table>
                </div>
                <div id="tabbottom" style="text-align: right;">
                    <img src="../images/bot2.gif" onclick="UpdateInfo();closeLayer();" />
                    <img id="img2" src="../images/bot11.gif" onclick="closeLayer()" />
                </div>
            </div>--%>
        </div>
        <div id="div8" class="page f_l" style="display: none">
            <asp:HyperLink ID="HLDelAlert" NavigateUrl="javascript:delAlert();" Visible="false"
                runat="server"><font color='red'>删除提醒</font></asp:HyperLink>
            <asp:HyperLink ID="HLUpdateAlert" NavigateUrl="javascript:UpdateAlert();" Visible="false"
                runat="server"><font color='red'>处理提醒</font></asp:HyperLink>
            <asp:HyperLink ID="HLDioagInfo" NavigateUrl="javascript:ShowDioagInfo();" runat="server"><font color='red'>添加提醒</font></asp:HyperLink>
            <div id="divInfo1">
            </div>
            <div id="divInfo2">
            </div>
        </div>
        <div id="div9" class="page f_l" style="display: none">
            <asp:HyperLink ID="HLShowKey" NavigateUrl="javascript:ShowKeyDialog('HousingKey.aspx');"
                Visible="false" runat="server"><font color='red'>借钥匙登记</font></asp:HyperLink>
            <a id="RegisterKey" href="javascript:RegisterKeyDialog();"><font color='red'>收钥匙登记</font></a>
            <span id="KeyInfo" style="display: none"></span>
            <div id="divkey1">
            </div>
            <div id="divkey2">
            </div>
        </div>
        <div id="div10" class="page f_l" style="display: none">
            <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
                <tr>
                    <td width="10%" align="right" bgcolor="#F7F7F7">
                        成交部门：
                    </td>
                    <td width="15%" bgcolor="#FFFFFF" style="padding-left: 10px;" colspan="3">
                        <span id='sPfyx'></span>
                    </td>
                    <td width="10%" align="right" bgcolor="#F7F7F7">
                        成交时间：
                    </td>
                    <td width="15%" bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <span id='sDdate'></span>
                    </td>
                    <td width="10%" align="right" bgcolor="#F7F7F7">
                        成交类型：
                    </td>
                    <td width="15%" bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <span id='sDtype'></span>
                    </td>
                </tr>
                <tr>
                    <td width="10%" align="right" bgcolor="#F7F7F7">
                        购房目的：
                    </td>
                    <td width="15%" bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <span id='sBuyuse'></span>
                    </td>
                    <td width="10%" align="right" bgcolor="#F7F7F7">
                        付款情况：
                    </td>
                    <td width="15%" bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <span id='sPaystate'></span>
                    </td>
                    <td width="10%" align="right" bgcolor="#F7F7F7">
                        客源编号：
                    </td>
                    <td width="15%" bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <span id='sKty_id'></span>
                    </td>
                    <td width="10%" align="right" bgcolor="#F7F7F7">
                        客户姓名：
                    </td>
                    <td width="15%" bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <span id='sKname'></span>
                    </td>
                </tr>
                <tr>
                    <td width="10%" align="right" bgcolor="#F7F7F7">
                        成交物业：
                    </td>
                    <td width="15%" bgcolor="#FFFFFF" style="padding-left: 10px;">
                        <span id='sMname'></span>
                    </td>
                    <td width="10%" align="right" bgcolor="#F7F7F7">
                        成交报告编号：
                    </td>
                    <td width="15%" bgcolor="#FFFFFF" style="padding-left: 10px;" colspan="5">
                        <font color='red'><span id='sDid'></span></font>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <input id="hID" name="hID" runat="server" type="hidden" />
    <input id="ddept" name="ddept" runat="server" type="hidden" />
    <input id="ddeptid" name="ddeptid" runat="server" type="hidden" />
    <input id="duser" name="duser" runat="server" type="hidden" />
    <input id="duserid" name="duserid" runat="server" type="hidden" />
    <input id="dstation" name="dstation" runat="server" type="hidden" />
    <input id="isValid" name="isValid" type="hidden" />
    <input id="fid" name="fid" type="hidden" />
    <input id="housingId" name="housingId" type="hidden" />
    <input id="Mark" name="Mark" type="hidden" /><!-- 标记无效-->
    <input id="Appliances" name="Appliances" type="hidden" />
    <input id="hCompetencesIsUploadPic" name="hCompetencesIsUploadPic" value="0" type="hidden"
        runat="server" /><!-- 0不允许上传图片 1允许上传图片 -->
    <input id="hCompetencesIsDelPic" name="hCompetencesIsDelPic" value="0" type="hidden"
        runat="server" /><!-- 0不允许删除图片 1允许删除图片 -->
    <input id="hCompetencesAllIsDelPic" name="hCompetencesAllIsDelPic" value="0" type="hidden"
        runat="server" />
    <input id="hCompetencesIsShowTel" name="hCompetencesIsShowTel" value="0" type="hidden"
        runat="server" /><!-- 0不允许查看电话 1允许查看电话 -->
    <input id="hCompetencesIsSalesManagerStation" name="hCompetencesIsSalesManagerStation"
        value="0" type="hidden" runat="server" /><!-- 0非1 1分行经理及以上级别 -->
    <input id="hAllowPhotoCount" name="hAllowPhotoCount" value="0" type="hidden" runat="server" /><!--允许上传图片数-->
    <div id="dvToPty" style="overflow: auto; z-index: 9999; left: 200px; position: absolute;
        top: 25px; display: none; border: 2px; border-style: outset; background-color: #cccccc;
        height: 30px; width: 350px">
        <font color="red">开盘人:</font><asp:TextBox ID="tbMakeUser" runat="server" Width="230px"></asp:TextBox>
        <asp:Button ID="btToPty" OnClick="btToPty_Click" OnClientClick="return chkToPty();"
            runat="server" Text="确 定" />
    </div>
    <input id="hUserID" name="hUserID" runat="server" type="hidden" />
    <input id="hStation" name="hStation" runat="server" type="hidden" />
    <input id="hProtectedClass" name="hProtectedClass" runat="server" type="hidden" />
    <input id="isManager" name="isManager" value="admin" runat="server" type="hidden" /><!--管理员拥有最高权限-->
    <input id="hIsLock" name="hIsLock" runat="server"  type="hidden" />
    <iframe   name="demo"   style="display:none"></iframe>  
    </form>
    <script src="../js/jquery/jquery.hiAlerts-min.js" type="text/javascript"></script>

    <script src="../js/jquery.autocomplete/jquery.autocomplete.min.js" type="text/javascript"></script>

    <script src="../js/LexunJS.js" type="text/javascript"></script>

    <script src="../js/jShowDiv.js" type="text/javascript"></script>

    <script src="js/HousingDetailJS.min.js?v=20120229" type="text/javascript"></script>

</body>
</html>
